class Assertutil:
    # 封装tpshop断言的方法
    @classmethod
    def ihrm_assert(cls, resp_login, status_code, success, code, message):
        assert status_code == resp_login.status_code
        assert success == resp_login.json().get("success")
        assert code == resp_login.json().get("code")
        assert message == resp_login.json().get("message")
